import util from "@/libs/util"
// 维保人员列表-维保人员列表
export function getmaintUserList (data) {
  return util.http({
    url: `/biz-maint/maint/maintUserInfo/maintUserList`,
    method: "post",
    data
  })
}

// 维保人员添加
export function addmaintUserInfo (data) {
  return util.http({
    url: `/biz-maint/maint/maintUserInfo`,
    method: "post",
    data
  })
}

// 维保人员编辑
export function editmaintUserList (data) {
  return util.http({
    url: `/biz-maint/maint/maintUserInfo`,
    method: "put",
    data
  })
}

// 维保人员删除
export function delMaintWorker (data) {
  return util.http({
    url: `/biz-maint/maint/maintUserInfo/delMaintWorker`,
    method: "post",
    data
  })
}

// 维保人员申诉-人员申诉管理
export function getmaintUserAppealList (data) {
  return util.http({
    url: `/biz-maint/maint/maintUserInfo/maintUserAppealList`,
    method: "post",
    data
  })
}

//维保人员申诉-人员申诉管理-申诉
export function getdoWorkerAppeal (data) {
  return util.http({
    url: `/biz-maint/maint/maintUserInfo/doWorkerAppeal`,
    method: "post",
    data
  })
}

//维保人员申诉-人员申诉记录-分页
export function getselectWorkerAppealPage (data) {
  return util.http({
    url: `/biz-maint/maint/maintUserInfo/selectWorkerAppealPage`,
    method: "post",
    data
  })
}

//维保人员申诉-人员被申诉记录-分页
export function getselectResWorkerAppealPage (data) {
  return util.http({
    url: `/biz-maint/maint/maintUserInfo/selectResWorkerAppealPage`,
    method: "post",
    data
  })
}

//维保人员申诉-人员被申诉记录-删除人员
export function deleteWorkerAppeal (data) {
  return util.http({
    url: `/biz-maint/maint/maintUserInfo/deleteWorkerAppeal`,
    method: "post",
    data
  })
}

//维保人员申诉-人员被申诉记录-不删除人员
export function notDeleteWorkerAppeal (data) {
  return util.http({
    url: `/biz-maint/maint/maintUserInfo/notDeleteWorkerAppeal`,
    method: "post",
    data
  })
}



// 维保人员列表-维保人员列表
export function getmaintAdminUserList (data) {
  return util.http({
    url: `/biz-maint/maint-admin/maintUserInfo/maintUserList`,
    method: "post",
    data
  })
}
